﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mafool.Core;

/// <summary>
/// 时间单位
/// </summary>
public enum TimeUnit
{
    /// <summary>
    /// 年
    /// </summary>
    Year,
    /// <summary>
    /// 月
    /// </summary>
    Month,
    /// <summary>
    /// 日
    /// </summary>
    Day,
    /// <summary>
    /// 时
    /// </summary>
    Hour,
    /// <summary>
    /// 分
    /// </summary>
    Minute,
    /// <summary>
    /// 秒
    /// </summary>
    Second
}


/// <summary>
/// 数据库类型枚举
/// </summary>
public enum DbType
{
    /// <summary>
    /// SqLite
    /// </summary>
    SqLite = 0,

    /// <summary>
    /// MySql
    /// </summary>
    MySQL = 1,

    /// <summary>
    /// PostGreSQL
    /// </summary>
    PgSQL = 2,

    /// <summary>
    /// SQL Server
    /// </summary>
    MsSQL = 3,

    /// <summary>
    /// Oracle
    /// </summary>
    Oracle = 4
}
